//
//  GWTopicModel.h
//  百思不得姐
//
//  Created by qianfeng on 16/3/3.
//  Copyright © 2016年 高炜. All rights reserved.
//

#import <UIKit/UIKit.h>
@class GWComment;
@interface GWTopicModel : NSObject
/** id */
@property (nonatomic, copy) NSString *ID;
/** 名称 */
@property (nonatomic, copy) NSString *name;
/** 头像 */
@property (nonatomic, copy) NSString *profile_image;
/** 发帖时间 */
@property (nonatomic, copy) NSString *create_time;
/** 文字内容 */
@property (nonatomic, copy) NSString *text;
/** 顶的数量 */
@property (nonatomic, assign) NSInteger ding;
/** 踩的数量 */
@property (nonatomic, assign) NSInteger cai;
/** 转发的数量 */
@property (nonatomic, assign) NSInteger repost;
/** 评论的数量 */
@property (nonatomic, assign) NSInteger comment;
/** 帖子的类型 */
@property (nonatomic, assign) GWTopicControllerType type;
/** sina加V */
@property (nonatomic, assign,getter=isSina_v) BOOL sina_v;

/** 图片宽度*/
@property (nonatomic, assign)CGFloat width;
/** 图片高度*/
@property (nonatomic, assign)CGFloat height;
/**小图 */
@property (nonatomic,copy)NSString *smallImage;
/**大图 */
@property (nonatomic,copy)NSString *largeImage;
/**中图 */
@property (nonatomic,copy)NSString *middleImage;
/** 播放的次数 */
@property (nonatomic, assign) NSInteger playcount;
/** 声音的时长 */
@property (nonatomic, assign) NSInteger voicetime;
/** 视频的时长 */
@property (nonatomic, assign) NSInteger videotime;
/** 视频的时长 */
@property (nonatomic, copy) NSArray *top_cmt;

/** 辅助属性*/

/** 图片是否是长图*/
@property (nonatomic, assign,getter=isLongPicture)BOOL longPicture;
/** 图片ViewFrame*/
@property (nonatomic, assign,readonly)CGRect pictureF;
/** 声音ViewFrame*/
@property (nonatomic, assign,readonly)CGRect voiceF;
/** 视频ViewFrame*/
@property (nonatomic, assign,readonly)CGRect videoF;

/** cell图片的下载进度*/
@property (nonatomic, assign)CGFloat progress;

/** cell的高度 */
@property (nonatomic, assign,readonly)CGFloat cellHeight;

@end
